<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="module">
import info from './js/02.module.js'
      console.log('info:', info)

      //按需导入
      import {food,cat,chicken as kunkun } from  './js/02.module.js'
      console.log('food:', food)
      console.log('cat:', cat)
      console.log('kunkun:', kunkun)



    </script>
</body>
</html>